package edu.hunau.pojo;

import java.util.HashMap;
import java.util.Map;

/**
 *  课堂
 */
public class ClassRoom {
    //课堂编号
    private String id;

    // 课堂名称 ：如 面向对象编程25年春季课堂
    private String name;

    // 课程
    private Course course;

    //学生人数
    private int studentNum;

    //成绩单
    private Map<Student,Integer> transcript=new HashMap<>();

    public ClassRoom(){

    }

    public ClassRoom(String id,String name, Course course){
        //todo:完成构造函数
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public Map<Student, Integer> getTranscript() {
        return transcript;
    }

    public void setTranscript(Map<Student, Integer> transcript) {
        this.transcript = transcript;
    }

    public int getStudentNum() {
        return studentNum;
    }

    public void setStudentNum(int studentNum) {
        this.studentNum = studentNum;
    }
}
